Suppressing Warnings in SonarQube enterprise version 9.9.1 for C++

I need to suppress warnings for C++ files in SonarQube enterprise version 9.9.1 with comment. Is this option available. we need this to maintain our project, indication that this line of code has suppression due some reasons.

Hey there.

While not possible to suppress specific warnings, you can comment // NOSONAR on a line with your justification. This will suppress all warnings on that line.

Hi,
I tried adding //NOSONAR in SonarLint for Visual Studio Code, but still the warnings are not suppressed. I have to check in SonarQube.