Any oath or affidavit required by law, which is not of such nature that it must be made in court, may be administered by a magistrate, a notary, a commissioner in chancery, a commissioner appointed by the Governor, a judge or clerk or deputy clerk of a court, a commissioner or clerk or deputy clerk of the State Corporation Commission, or clerks of governing bodies of local governments. In case of a survey directed by a court in a cause therein pending, an oath or affidavit may be administered by or before the surveyor directed to execute the order of survey.
Va. Code § 49-4