Can someone point me to an example Nearley grammar that handles single-line comments such as those that begin with # or // in many programming languages? I suspect the problem I'm hitting is that newline characters are discarded by default, so I can't write a rule that matches # following by any characters up to the next newline. Perhaps there's an option I can pass to the Parser constructor to tell it not to discard newline characters, but I haven't found that yet.