Allow spaces and comments inside a hash declaration. Fixes #1553