Hi Florian,
The # is a preprocessor directive.
The X is not a preprocessor directive.
The rules for parsing preprocessor directives is different form the rules for parsing non-preprocessor directives. (The state machine is in a different state.)
HTH, --Eljay