check for misplaced comments