Add support for comments

Now, in the input string, comments (/#.*\n/) will be skipped
everywhere whitespace is legal.