Hide Warning Messages from C# script editor?

Ressurecting this topic again. I have a warning for an async method and the #pragma comments in VS does not work.

Any way to ignore or turn the warnings off?

I’ve moved this to a new topic in the correct category.