src/language-js/utils.js/hasTrailingLineComment
function hasTrailingLineComment(node) {
  return (
    node.comments &&
    node.comments.some(
      (comment) => comment.trailing && !handleComments.isBlockComment(comment)
    )
  );
}