{"version":"2.1.330","anchor":"html-comments-in-claudemd-are-now-stripped-through-a-markdo","canonical_anchor":"html-comments-in-claudemd-are-now-stripped-through-a-markdo","heading":"CLAUDE.md now drops only HTML comments that stand on their own","tier":"notice","area":"Memory","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/html-comments-in-claudemd-are-now-stripped-through-a-markdo","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### CLAUDE.md now drops only HTML comments that stand on their own\n\nClaude Code now reads CLAUDE.md as markdown and removes only HTML comments that form a block of their own\n\n**What**\n\nCLAUDE.md files can contain HTML comments, written `<!-- like this -->`, and Claude Code removes them before passing the file to Claude. Claude Code now reads the file as markdown first. It removes a comment only when that comment forms a block of its own, such as a comment written on its own lines. The same reading is reused to find `@` includes, which are lines that pull another file into CLAUDE.md.\n\nBefore, a separate pass looked for comments throughout the text.\n\n**Why**\n\nLoading memory files, meaning CLAUDE.md and similar instruction files, is a little faster and follows markdown rules more closely. A comment inside a line of text, or inside a code block, is not a block of its own and is not removed. Put any comment you want hidden from Claude on its own lines.\n\n- Area: Memory\n- Names: `CLAUDE.md`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}