It's ambiguous, and this is why significant whitespace can be so frustrating. Unless it's specified, some people will interpret a full-line comment as a blank line with a comment ending it (`^#.$`), and others will interpret it as you have (`^#.?\n`). Neither is obviously correct (even if it's obvious to you).
Edit: I don't know how to escape in HN formatting. Obviously there are italics where literal asterisks should be.
Yeah I was hoping to keep them inline, but indenting surely would have helped. I intended them after the dots (`.*`, dot asterisk in case I get the escaping wrong, is 0 or more characters in regex).
Edit: I don't know how to escape in HN formatting. Obviously there are italics where literal asterisks should be.