cd /news/artificial-intelligence/claude-making-verbose-code-comments-… · home topics artificial-intelligence article
[ARTICLE · art-91735] src=github.com ↗ pub= topic=artificial-intelligence verified=true sentiment=↓ negative

Claude making verbose code comments – ignoring instructions to stop

A GitHub issue filed against Anthropic's Claude Code reports that the AI assistant adds verbose, redundant code comments by default across all languages and models, and that this behavior persists even when users explicitly instruct it to stop via CLAUDE.md rules and memory settings. The issue, #65961, was filed for Claude Code version 2.1.17 using the claude-opus-4-8 model, and the user describes the impact as high due to significant unwanted changes requiring manual cleanup.

read2 min views1 publishedAug 11, 2026
Claude making verbose code comments – ignoring instructions to stop
Image: source

NotificationsYou must be signed in to change notification settings - Fork 22.7k

Description #

Preflight Checklist

  • I have searched existing issuesfor similar behavior reports - This report does NOT contain sensitive information (API keys, passwords, etc.)

Type of Behavior Issue

Claude modified files I didn't ask it to modify

What You Asked Claude to Do

Description

Claude Code adds far too many code comments by default. The comments are mostly redundant, restating what the adjacent code already makes obvious. It happens on every language, every model.

Crucially, this default persists even when explicitly told to stop:

  • A clear, mandatory rule in CLAUDE.md

does not reliably suppress it. - Reinforcing the rule via the memory system does not stop it either.

I suppose the core problem is that verbose commenting is the out-of-the-box default, and that default is strong enough to override explicit user instructions. Users shouldn't have to stack a CLAUDE.md rule + memory entries + enforcement hooks just to get clean code.

Environment

  • Claude Code
  • Model: claude-opus-4-8

What Claude Actually Did

Contant verbose code commenting.

Expected Behavior

Expected behavior

Restrained commenting as the default — comment only genuinely non-obvious constraints or "why" decisions, not self-evident "what." And when a project instruction says to minimize comments, that instruction should be reliably respected.

Actual behavior

Reflexive explanatory comments on most code output, even when instructed otherwise. Requires constant manual cleanup .

Files Affected

all

Permission Mode

Accept Edits was ON (auto-accepting changes)

Can You Reproduce This?

Yes, every time with the same prompt

Steps to Reproduce

No response

Claude Model

Opus

Relevant Conversation

Impact

High - Significant unwanted changes

Claude Code Version

2.1.17

Platform

Anthropic API

Additional Context

No response

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @anthropic 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/claude-making-verbos…] indexed:0 read:2min 2026-08-11 ·