Questa funzione restituisce una nuova istanza della classe DomComment. Il contenuto del commento viene fornito tramite il parametro. Questo nodo non sarà incluso nel documento sino a quando non sarà inserito nel documento con funzioni tipo domnode_append_child().
La funzione restituisce FALSE se si verifica un errore.
Vedere anche domnode_append_child(), domdocument_create_element(), domdocument_create_text(), domdocument_create_attribute(), domdocument_create_processing_instruction(), domdocument_create_entity_reference() e domnode_insert_before().