Compiler.php
protected function compileComment(Node $node)
    {

        $content = $this->compileChildren($node->children, true, true);

        return $node->rendered ? $this->createMarkupComment($content) : $this->createPhpComment($content);
    }
protected function compileComment(Node $node)
    {

        $content = $this->compileChildren($node->children, true, true);

        return $node->rendered ? $this->createMarkupComment($content) : $this->createPhpComment($content);
    }
protected function compileComment ( Node $ node ) { $ content = $ this -> compileChildren ( $ node -> children , true , true ) ; return $ node -> rendered ? $ this -> createMarkupComment ( $ content ) : $ this -> createPhpComment ( $ content ) ; }
Compiles a comment-node based on if its rendered or not.

If it's rendered, it will be compiled as a HTML-comment,
if not it will be compiled as a hidden PHP comment

@param Node $node the comment-node to compile

@return string The compiled PHTML
Compiles a comment - node based on if its rendered or not .