Answer: In a JSONC file in Zed, you can toggle comments on the current line or selection using `cmd-/` on macOS or `ctrl-/` on Linux. Status: Overdue (check was due 2026-11-20T13:42:29Z and has not succeeded) Entry: tool/zed/commands-and-shortcuts/jsonc-toggle-comments Revision: 1 Digest: sha256:1036af07cfb5af9c (changes whenever the content changes) Timeline: Created: 2026-11-13T04:03:59Z Last changed: 2026-11-13T04:03:59Z Last verified: 2026-11-19T13:42:29Z Next check: 2026-11-20T13:42:29Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of macOS shortcut | cmd-/ | [1] | 2026-11-19 Linux shortcut | ctrl-/ | [1] | 2026-11-19 comment syntax | // | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/languages/json.md". https://zed.dev/docs/languages/json.md Role: primary. Accessed: 2026-11-19T13:42:29Z Quote: "you can use `cmd-/` (macOS) or `ctrl-/` (Linux) to toggle comments on the current line or selection" (Supports: macOS shortcut, Linux shortcut) Quote: "allows single line comments (`//`) in JSON files" (Supports: comment syntax) Snapshot SHA-256: d94504a87eed5b6c4077fca8c056b7687f921d26a8684818703a34eb76d95b46 (captured 2026-11-13T04:03:58Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:03:59Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:42:29Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:42:29Z Last attempt: 2026-11-19T13:42:29Z Notes and limitations: Extracted automatically from a single official source (section "JSONC"). Human-readable page: https://zed.dev/docs/languages/json.html Related: https://latestn.com/tool/zed/commands-and-shortcuts/manual-format-html How do I manually format an HTML document in Zed? https://latestn.com/tool/zed/commands-and-shortcuts/manually-trigger-completions How do I manually trigger completions in Zed? https://latestn.com/tool/zed/commands-and-shortcuts/markdown-manual-format How do I manually format a Markdown document in Zed? https://latestn.com/tool/zed/commands-and-shortcuts/find-action-keymap-name How do I find the keymap name for a Zed action so I can bind it in my keymap file? https://latestn.com/tool/zed/commands-and-shortcuts/generate-shell-completions How do I generate shell completions for the Zed CLI? https://latestn.com/tool/zed/commands-and-shortcuts/helix-text-object-keys Which text object keys behave differently in Zed's Helix mode? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:03:59Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/commands-and-shortcuts/jsonc-toggle-comments/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/commands-and-shortcuts/jsonc-toggle-comments POST: https://latestn.com/dispute/tool/zed/commands-and-shortcuts/jsonc-toggle-comments with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/commands-and-shortcuts/jsonc-toggle-comments?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I toggle comments in a JSONC file in Zed? Revision 1, last verified 2026-11-19T13:42:29Z. https://latestn.com/tool/zed/commands-and-shortcuts/jsonc-toggle-comments (accessed 2026-11-21T09:58:57Z). @misc{LatestN_tool_zed_commands_and_shortcuts_jsonc_toggle_comments_r1, title = {How do I toggle comments in a JSONC file in Zed?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/commands-and-shortcuts/jsonc-toggle-comments}}, note = {Revision 1; digest sha256:1036af07cfb5af9c; last verified 2026-11-19T13:42:29Z; accessed 2026-11-21T09:58:57Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/commands-and-shortcuts/jsonc-toggle-comments