isSingleLineComment = (comment, text) =>
  isLineComment(comment) ||
  !hasNewlineInRange(text, locStart(comment), locEnd(comment))
@typedef {Object} CommentContext
@property {Estree.Comment} comment
@property {Estree.Node} precedingNode
@property {Estree.Node} enclosingNode
@property {Estree.Node} followingNode
@property {string} text
@property {any} options
@property {Estree.Node} ast
@property {boolean} isLastComment