function isTrailingComment(line, lineNumber, comment) {
  return Boolean(
    comment &&
      comment.loc.start.line === lineNumber &&
      lineNumber <= comment.loc.end.line &&
      (comment.loc.end.line > lineNumber ||
        comment.loc.end.column === line.length)
  )
}
Tells if a given comment is trailing: it starts on the current line and
extends to or past the end of the current line.
@param {string} line The source line we want to check for a trailing comment on
@param {number} lineNumber The one-indexed line number for line
@param {Token | null} comment The comment to inspect
@returns {comment is Token} If the comment is trailing on the given line