diff --git a/.cmake-format b/.cmake-format
index a7db756a370e7bc964341ea67679343887a3e219..5312b23fbd064b25d8f21877f1ef2d6f046a378a 100644
--- a/.cmake-format
+++ b/.cmake-format
@@ -277,7 +277,7 @@ with section("markup"):
 
   # If comment markup is enabled, don't reflow any comment block which matches
   # this (regex) pattern. Default is `None` (disabled).
-  literal_comment_pattern = None
+  literal_comment_pattern = '^\\s*[0-9a-zA-Z_]+\\s*\(.*\)'
 
   # Regular expression to match preformat fences in comments default=
   # ``r'^\s*([`~]{3}[`~]*)(.*)$'``