Exhibit 23.1

INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM’S CONSENT

We consent to the inclusion in this Registration Statement of KnightSwan Acquisition Corporation (the “Company”) on Amendment No. 1 to Form S-1 (File No. 333-261856) of our report, which includes an explanatory paragraph as to the Company’s ability to continue as a going concern, dated January 14, 2022, with respect to our audit of the financial statements of KnightSwan Acquisition Corporation as of December 31, 2021 and for the period from August 13, 2021 (inception) through December 31, 2021, which report appears in the Prospectus, which is part of this Registration Statement. We also consent to the reference to our Firm under the heading “Experts” in such Prospectus.

/s/ Marcum LLP

Marcum LLP

Los Angeles, CA

January 14, 2022