error CS1040: Preprocessor directives must appear as the first non-whitespace character on a line
Of course you would put an #if or #pragma on its own line, but what if you didn’t?
#pragma warning disable/restore makes sense to be on the same line as the warning generating code. But in this case the C# language is white space significant. Why not extend this to other areas of the language?