src/less/parse.js
function getCommentML() {
  const type = NodeType.CommentMLType;
  const token = tokens[pos];
  const line = token.ln;
  const column = token.col;
  let content = tokens[pos].value.substring(2);
  const l = content.length;

  if (content.charAt(l - 2) === '*' && content.charAt(l - 1) === '/')
    content = content.substring(0, l - 2);

  const end = getLastPosition(content, line, column, 2);
  if (end[0] === line) end[1] += 2;
  pos++;

  return newNode(type, content, line, column, end);
}
function getCommentML() {
  const type = NodeType.CommentMLType;
  const token = tokens[pos];
  const line = token.ln;
  const column = token.col;
  let content = tokens[pos].value.substring(2);
  const l = content.length;

  if (content.charAt(l - 2) === '*' && content.charAt(l - 1) === '/')
    content = content.substring(0, l - 2);

  const end = getLastPosition(content, line, column, 2);
  if (end[0] === line) end[1] += 2;
  pos++;

  return newNode(type, content, line, column, end);
}
function getCommentML ( ) { const type = NodeType . CommentMLType ; const token = tokens [ pos ] ; const line = token . ln ; const column = token . col ; let content = tokens [ pos ] . value . substring ( 2 ) ; const l = content . length ; if ( content . charAt ( l - 2 ) === '*' && content . charAt ( l - 1 ) === '/' ) content = content . substring ( 0 , l - 2 ) ; const end = getLastPosition ( content , line , column , 2 ) ; if ( end [ 0 ] === line ) end [ 1 ] += 2 ; pos ++ ; return newNode ( type , content , line , column , end ) ; }
Get node with a multiline comment
@returns {Array} `['commentML', x]` where `x`
is the comment's text (without `/*` and `* /`).
Get node with a multiline comment