riding on sidewalk in montreal ?

Hello,

i just started the unicycling and live in montreal/canada. i would like to know
if it is legal to ride on the sidewalk ?