CodingGuidelines: document // comments

We do not use // comments in our C code, which is implied by the description of multi-line comment rule and its examples, but is not explicitly spelled out. Spell it out. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Feb 11, 2026 at 11:17 UTC 2f99f50f2d55fa23475b7de25ff215439c6f53ed
1 file changed +2
Documentation/CodingGuidelines
+2
@@ -430,6 +430,8 @@ For C programs:
430 */
431 _("Here is a translatable string explained by the above.");
432
433 + We do not use // comments.
434 +
435 - Double negation is often harder to understand than no negation
436 at all.
437