Pedestrians shall not use the roadways for travel, except when necessary to do so because of the absence of sidewalks which are reasonably suitable and passable for their use. If they walk on the hard surface, or the main travelled portion of the roadway, they shall keep to the extreme left side or edge thereof, or where the shoulders of the highway are of sufficient width to permit, they may walk on either shoulder thereof.
Va. Code § 46.2-928