diff --git a/acinclude.m4 b/acinclude.m4
index b672367aaeddf605e653f892c144154e41b993f7..39525043a5f8578c3ef3a582bc55bfc453cc1619 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2001,8 +2001,10 @@ AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [
 #endif
     ]],[[
 #if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK > 0)
-      dnl The monotonic clock will not be used unless the feature test macro is
-      dnl defined with a value greater than zero indicating _always_ supported.
+      /*
+      The monotonic clock will not be used unless the feature test macro is
+      defined with a value greater than zero indicating _always_ supported.
+      */
       struct timespec ts;
       (void)clock_gettime(CLOCK_MONOTONIC, &ts);
 #else
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4
index 1875c0d5a156b964787defe0e226bd3c3462909c..eb3c2454f29a8685e8ff387d6116d59d72d04a88 100644
--- a/ares/acinclude.m4
+++ b/ares/acinclude.m4
@@ -1468,8 +1468,10 @@ AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [
 #endif
     ]],[[
 #if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK > 0)
-      dnl The monotonic clock will not be used unless the feature test macro is
-      dnl defined with a value greater than zero indicating _always_ supported.
+      /*
+      The monotonic clock will not be used unless the feature test macro is
+      defined with a value greater than zero indicating _always_ supported.
+      */
       struct timespec ts;
       (void)clock_gettime(CLOCK_MONOTONIC, &ts);
 #else