I see what you mean - what comes into my mind is
either you make REM unique by adding a char like semicolon,
hopefully this is allowed by the compiler, or you make sure that
REM is the only UPPERCASE version of the source code and disable
IgnoreCase option.
Cheers
Claudia