Fix api double emit on comment nodes (fixes #876)
Merge pull request #888 from roadhump/issue_876_3

Fix api double emit on comment nodes (fixes #876)