Similar to the picture, you cannot see the first line of comments when opening it with an editor. How is this generated?
You can create document fragments through js code
Create and generate comments
var name = document.createComment() //创建注释 var farme = document.createDocumentFragment('frame');//创建文档片段 farme .appendChild(name)
You can create document fragments through js code
Create and generate comments