I'm not sure there is a community held 'best way'. But I often use html comments and I know a lot of other developers do too, looking at the source code on well formatted sites will show you its an often used technique.
<div id="some-id">
... Some Content ...
</div><!-- some id -->
This will read nicer if you have indentation for each of your block level elements.