Fix trailing comma detection when comment included after last comma.

This should make v1.1.1.