funny story:
yellow line markings dont have any legal meaning in this province
silly but true
solid or broken, a yellow line is only a guide. a solid yellow line is merely advice that this might not be the safest place to pass.
what actually matters is where you are. IE on a turn, on a crest, before a tunnel, before RR tracks --- all those places are illegal to pass
but if there's a mile of solid yellow (single, double -- doesnt matter) and the road is flat, straight and clear, there is nothing in the HTA preventing you from crossing that line
thats as far as passing goes
wandering into the opposite lane of traffic just to widen your line is never too legal