No. Currently there is no such option.
See feature request :
https://developercommunity.visualstudio.com/t/add-support-for-excluding-files-from-intellisenser/406303
https://developercommunity.visualstudio.com/t/C-Linter-is-missing-suppression-suppor/10375696