Single line comments look the same as JavaScript comments and must be placed on their own line:

Pug also supports unbuffered comments, by simply adding a hyphen

Block Comments

A block comment is legal as well:

Conditional Comments

Pug does not have any special syntax for conditional comments. But since all lines beginning with < are treated as plain text, normal HTML style conditional comments will do fine.