What decides the answer is where stopping is allowed: on the right side of the road — on the shoulder or by the sidewalk, and on the edge of the roadway only when there is neither a shoulder nor a sidewalk. Here there is a shoulder on the right, so the right move is to pull onto it, as driver C did. The edge line
normally must not be crossed, but you may cross it to stop on the shoulder where stopping is allowed