单项选择题

DOM 中,创建注释节点的方法是()

A.createElement(tagname)
B.createTextNode(text)
C.createAttribute()
D.createComment(text)