Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
XML Comments Suck
<container>
<thing />
<!--
I think this is the least horrible way to format XML comment
blocks. Even though it wastes two lines, at least it doesn't
involve tons of indenting or horribly misaligned edges.
-->
<fooblah size="10" count="alot" />
</container>
@veganstraightedge

This comment has been minimized.

Copy link

veganstraightedge commented Jan 2, 2011

I agree. I do the same thing when I need to write lengthy HTML comments.

@benatkin

This comment has been minimized.

Copy link

benatkin commented Jan 2, 2011

Tell me about it. At least it has support for comments, though! @getify has been trying to get people interested in a dialect of JSON that allows comments. That wouldn't go far enough for me - I want multiline strings.

@kevinsawicki

This comment has been minimized.

Copy link

kevinsawicki commented Sep 1, 2011

I agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.