Since you're only interested in comments that are on their own line, yes. Trailing trivia includes all trivia up to the next token (if the next token is on the same line), or up to but not including the LF/CR/CRLF if the next token is on a later line. In the latter case, the leading trivia of that next token contains the line comments that preceded it.