Allow # within string tokens

This means that # must be the first character of the string
to start a comment, in line with other shells

Fixes #953