Following project setting in VS2022 Community generated the C6262 message:
Even without that setting my copy of VS2022 Community still displayed the green squiggle warning in the IDE.
Finally, the documentation at https://learn.microsoft.com/en-us/cpp/code-quality/c6262?view=msvc-170 only shows how to suppress the warning in the IDE through the additional command line options setting. There is no indicated project property for this particular code analysis warning.