A third of the tokens in the code you send an LLM are comments. Indentation is 2.5%.
AI-generated summary An analysis of the CPython 3.13 standard library using OpenAI's tiktoken and o200k_base measures that comments and docstrings account for 34.8% of the tokens in source code files. Re-indenting files and deleting blank lines save only 2.5% and 0.1% of tokens respectively, while GPT-5.6, Claude Sonnet 5.5, and Claude Haiku 5.5 process input tokens at stated list prices.