src/template/compiler/parser.js
function(text) {
    let el = stack.peek();
    if (el && el.type === types.COMMENT) {
      stack.createObject(text);
      stack.closeElement(el);
    } else {
      stack.createComment(text);
    }
  }
function(text) {
    let el = stack.peek();
    if (el && el.type === types.COMMENT) {
      stack.createObject(text);
      stack.closeElement(el);
    } else {
      stack.createComment(text);
    }
  }
function ( text ) { let el = stack . peek ( ) ; if ( el && el . type === types . COMMENT ) { stack . createObject ( text ) ; stack . closeElement ( el ) ; } else { stack . createComment ( text ) ; } }
Handles HTML comments
@param  {} text [description]
Handles HTML comments