Skip trailing comments and whitespace (refs #27)