function stripTrailingComment(line, comment) {
  // loc.column is zero-indexed
  return line.slice(0, comment.loc.start.column).replace(/\s+$/u, '')
}
Gets the line after the comment and any remaining trailing whitespace is
stripped.
@param {string} line The source line with a trailing comment
@param {Token} comment The comment to remove
@returns {string} Line without comment and trailing whitepace