Correctly manage parsing of comment nodes. Fixes #3