• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/web/dom/document.php
  • Класс: BitrixMainWebDOMDocument
  • Вызов: Document::createComment
public function createComment($comment)
{
	$node = new Comment($comment);
	$node->setOwnerDocument($this);
	return $node;
}