Comments causes indentation issues. This is ok: int fct() { int v = 0; return 0 ; } This is not (it says that there is an indentation issue on the return line, that indent is 4 but should be 0): int fct() { int v = 0; /** * cool */ return 0; }