How to turn off Exception warnings.

I know how to turn off yellow warnings :

#pragma warning disable (CS number here)

But how do I get around to ignoring warnings like MissingComponentException, NullReferenceException, etc. The ones without the number.

You can ignore warnings. You can’t ignore errors.

Why would you even want to? Those error messages have been placed there intentionally to indicate pretty fundamental flaws in your script. The solution is not to try to suppress them, but deal with the problem that they identify: Unity - Manual: Null Reference Exceptions