Fixes no_trailing_semicolons problem from #194

This commit fixes the problem where if no_trailing_semicolons is
enabled, a semicolon at the end of a comment would trigger this rule.

This fixes the problem by chopping off comments before triggering
the rule.