Fix trailing comma detection when comment included after last comma.
Merge pull request #46 from nubs/master

Fix trailing comma detection when comment included after last comma.