Prompt Docs

Add Inline Comments

Add comments to explain non-obvious logic, complex algorithms, and business rules.

Insert label Add Comments
Prompt

Add inline comments to this code where the logic isn’t self-evident. Explain the “why” not the “what” — business rules, workarounds, non-obvious algorithmic choices, and edge cases that aren’t clear from reading the code. Don’t comment obvious things.

Add this to your Facet Inserts in Crystl for one-click access.

Get Crystl