Pug also supports unbuffered comments, by simply adding a hyphen
A block comment is legal as well:
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.