diary-glob-file-regexp-prefix

diary-glob-file-regexp-prefix is a variable defined in `diary-lib.el'.
Its value is
"^\\#"


Documentation:
Regular expression pre-pended to `diary-face-attrs' for file-wide specifiers.

You can customize this variable.