don't log an error when a comment only contains whitespace (#698)