lib/utils/string.js
function commentWrap(string, type) {
  let open, close;

  if (type == 'html') {
    open = '<!-- ';
    close = ' -->';
  } else {
    open = '/* ';
    close = ' */';
  }

  return open + string + close;
}
function commentWrap(string, type) {
  let open, close;

  if (type == 'html') {
    open = '<!-- ';
    close = ' -->';
  } else {
    open = '/* ';
    close = ' */';
  }

  return open + string + close;
}
function commentWrap ( string , type ) { let open , close ; if ( type == 'html' ) { open = '<!-- ' ; close = ' -->' ; } else { open = '/* ' ; close = ' */' ; } return open + string + close ; }
Wrap 'string' in comment based on 'type'
@param {String} string
@param {String} type
@returns {String}
Wrap string in comment based on type