A # has to be escaped with a backslash outside of command definitions.