297. Authorities before whom affidavits may be sworn.
Affidavits to be used before any Court under this Code may be sworn or affirmed before-
any Judge or any Judicial or Executive Magistrate, or]
any Commissioner of Oaths appointed by a High Court or Court of Session, or
any notary appointed under the Notaries Act, 1952 (53 of 1952 ).
Affidavits shall be confined to, and shall state separately, such facts as the deponent is able to prove from his own knowledge and such facts as he has reasonable ground to believe to be true, and in the latter case, the deponent shall clearly state the grounds of such belief.
The Court may order any scandalous and irrelevant matter in the affidavit to be struck out or amended.