In the case of abandonment of a section of highway or a railroad crossing that is part of the primary state highway system under the provisions of this article, such section of highway or such railroad crossing shall not thereafter be a public highway or public railroad crossing unless conveyed to the county or town and subject to the authority of the local governing body. In the case of proceedings for abandonment of any section of highway, not including a railroad crossing situated less than one and one-half miles from another public crossing over the same railroad, as a public highway under the provisions of this article, the local governing body, insofar as such section of highway is located within the county of such governing body, shall have authority to take over such section of highway, not including the railroad crossing, and maintain it as a public highway. However, the local governing body shall adopt an ordinance or resolution to that effect and to give notice thereof to the Commissioner of Highways within 30 days from the posting or publishing and mailing of the notice of the application for the abandonment of such section of highway as a public highway as provided in this article.
Va. Code § 33.2-904