# Linux Kernel Module Cheat

#### 28.9.1. GNU GAS assembler comments

In this tutorial, we use exclusively C Preprocessor `/**/` comments because:

- they are the same for all archs

- we are already stuck to the C Preprocessor because GNU GAS macros are unusable so we need `#define`

- mixing `#` GNU GAS comments and `#define` is a bad idea ;-)

But just in case you want to suffer, see this full explanation of GNU GAS comments: https://stackoverflow.com/questions/15663280/how-to-make-the-gnu-assembler-use-a-slash-for-comments/51991349#51991349

Examples:

- userland/arch/arm/comments.S

- userland/arch/aarch64/comments.S