Fix parsing of values that have trailing comments
Merge pull request #4 from ldodds/fix-comment-parsing

Fix parsing of values that have trailing comments