You want to use the c_comments option of the .FEATURE directive. That allows C type /* */ comments. It appears there are some limitations. Here's the note from the manual:
Quote:
c_comments: Allow C like comments using /* and */ as left and right comment terminators. Note that C comments may not be nested. There's also a pitfall when using C like comments: All statements must be terminated by "end-of-line". Using C like comments, it is possible to hide the newline, which results in error messages. See the following non working example:
lda #$00 /* This comment hides the newline
*/ sta $82
For the OP use, I think just putting the /* and */ on separate lines would be sufficient.
The problem with using the .if directive for this is noted in the manual as well:
Quote:
4.7 Conditional assembly
Please note that when using the conditional directives (.IF and friends), the input must consist of valid assembler tokens, even in .IF branches that are not assembled. The reason for this behaviour is that the assembler must still be able to detect the ending tokens (like .ENDIF), so conversion of the input stream into tokens still takes place. As a consequence conditional assembly directives may not be used to prevent normal text (used as a comment or similar) from being assembled.