In Firebug, there's an option to toggle/view HTML comments:
Is there any way to do this in Chrome Developer Tools?
I would like to give a more detailed answer to this question. Note that this answer corresponds to chrome version - 56.0.2924.87 (64-bit).
Let's take a demo site - Django Demo Projects.
On inspection you can see that there are a few comments near the top:
Click the Customize and control DevTools
option (the three dots near the top right corner):
Select the settings option. You should be able to see Show HTML comments
:
Disable to Show HTML comments
to remove comments. Now all comments are hidden!
Thank you!