• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/web/dom/comment.php
  • Класс: BitrixMainWebDOMComment
  • Вызов: Comment::__construct
public function __construct($comment)
{
	$this->init();
	$this->nodeType = self::COMMENT_NODE;

	$this->nodeValue = $comment;
	$this->nodeName = '#comment';
}