Pug also supports unbuffered comments, by simply adding a hyphen. These are only for commenting on the Pug code itself, and do not appear in the rendered HTML.
A block comment is legal as well:
Pug does not have any special syntax for conditional comments, the peculiar method of adding fallback markup for old versions of Internet Explorer, but since all lines beginning with
< are treated as plain text, normal HTML-style conditional comments will do fine.