Is it possible to put HTML tags inside comments?

Yes, you can enclose HTML tags within comments, and the browser will not display them. In fact, it’s common to use comments to temporarily hide sections of a page, especially when testing things. Programmers (and web developers) generally refer to this as “commenting it out.”