diff --git a/doc/administration/audit_event_types.md b/doc/administration/audit_event_types.md
index 86d8e9e170611739c52de8f84059e28435b8f285..425219672c3a6516a545143a2dfd7af21a9b0c9e 100644
--- a/doc/administration/audit_event_types.md
+++ b/doc/administration/audit_event_types.md
@@ -4,7 +4,7 @@ group: Compliance
 info: "To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments"
 ---
 
-<!---
+<!--
   This documentation is auto generated by a Rake task.
 
   Please do not edit this file directly. To update this file, run:
@@ -12,7 +12,7 @@ info: "To determine the technical writer assigned to the Stage/Group associated
 
   To make changes to the output of the Rake task,
   edit `tooling/audit_events/docs/templates/audit_event_types.md.erb`.
---->
+-->
 
 # Audit event types
 
diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md
index 5a62f47d76e9cf8ab85065f2ad1d11198d461d2d..b09b66cf8f9cf4f890398ad940adc313f22ce97a 100644
--- a/doc/api/graphql/reference/index.md
+++ b/doc/api/graphql/reference/index.md
@@ -4,11 +4,11 @@ group: Import and Integrate
 info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments
 ---
 
-<!---
+<!--
   This documentation is auto generated by a script.
 
   Please do not edit this file directly, check compile_docs task on lib/tasks/gitlab/graphql.rake.
---->
+-->
 
 # GraphQL API resources
 
diff --git a/doc/development/documentation/redirects.md b/doc/development/documentation/redirects.md
index 056ef9d3d62c76f4956dcadf4a06fabac849dbce..76f97d5ddd1b2c9705073d58f9b1b152dfdf7dc5 100644
--- a/doc/development/documentation/redirects.md
+++ b/doc/development/documentation/redirects.md
@@ -5,13 +5,13 @@ info: For assistance with this Style Guide page, see https://handbook.gitlab.com
 description: Learn how to contribute to GitLab Documentation.
 ---
 
-<!---
+<!--
   The clean_redirects Rake task in the gitlab-docs repository manually
   excludes this file. If the line containing remove_date is moved to a new
   document, update the Rake task with the new location.
 
   https://gitlab.com/gitlab-org/gitlab-docs/-/blob/1979f985708d64558bb487fbe9ed5273729c01b7/Rakefile#L306
---->
+-->
 
 # Redirects in GitLab documentation
 
diff --git a/doc/user/custom_roles/abilities.md b/doc/user/custom_roles/abilities.md
index 924275ae6ab6429236e8fca46f7bd63def900278..18d7d08e7ba5deba08b3d804255fb3bf99575e24 100644
--- a/doc/user/custom_roles/abilities.md
+++ b/doc/user/custom_roles/abilities.md
@@ -4,7 +4,7 @@ group: Authorization
 info: "To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments"
 ---
 
-<!---
+<!--
   This documentation is auto generated by a Rake task.
 
   Please do not edit this file directly. To update this file, run:
@@ -12,7 +12,7 @@ info: "To determine the technical writer assigned to the Stage/Group associated
 
   To make changes to the output of the Rake task,
   edit `tooling/custom_roles/docs/templates/custom_abilities.md.erb`.
---->
+-->
 
 # Available custom permissions
 
@@ -60,6 +60,6 @@ These requirements are documented in the `Required permission` column in the fol
 
 | Name | Required permission | Description | Introduced in | Feature flag | Enabled in |
 |:-----|:------------|:------------------|:---------|:--------------|:---------|
-| [`admin_vulnerability`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/121534) | read_vulnerability | Allows admin access to the vulnerability reports. | GitLab [16.1](https://gitlab.com/gitlab-org/gitlab/-/issues/412536) |  |  |
+| [`admin_vulnerability`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/121534) |  | Allows admin access to the vulnerability reports. | GitLab [16.1](https://gitlab.com/gitlab-org/gitlab/-/issues/412536) |  |  |
 | [`read_dependency`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/126247) |  | Allows read-only access to the dependencies. | GitLab [16.3](https://gitlab.com/gitlab-org/gitlab/-/issues/415255) |  |  |
 | [`read_vulnerability`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/120704) |  | Allows read-only access to the vulnerability reports. | GitLab [16.1](https://gitlab.com/gitlab-org/gitlab/-/issues/399119) |  |  |
diff --git a/tooling/audit_events/docs/templates/audit_event_types.md.erb b/tooling/audit_events/docs/templates/audit_event_types.md.erb
index b12416750fe1866583dd0651316dcd3655a6d9cf..31f06c06b76cbfd70c238046081c14a07ff1cc45 100644
--- a/tooling/audit_events/docs/templates/audit_event_types.md.erb
+++ b/tooling/audit_events/docs/templates/audit_event_types.md.erb
@@ -22,7 +22,7 @@ group: Compliance
 info: "To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments"
 ---
 
-<!---
+<!--
   This documentation is auto generated by a Rake task.
 
   Please do not edit this file directly. To update this file, run:
@@ -30,7 +30,7 @@ info: "To determine the technical writer assigned to the Stage/Group associated
 
   To make changes to the output of the Rake task,
   edit `tooling/audit_events/docs/templates/audit_event_types.md.erb`.
---->
+-->
 
 # Audit event types
 
diff --git a/tooling/custom_roles/docs/templates/custom_abilities.md.erb b/tooling/custom_roles/docs/templates/custom_abilities.md.erb
index 9d29cf3333fae47c7ec8d112165618ac83dca150..d58143162617855ec6b5cd1e26998b5f89090ad3 100644
--- a/tooling/custom_roles/docs/templates/custom_abilities.md.erb
+++ b/tooling/custom_roles/docs/templates/custom_abilities.md.erb
@@ -24,7 +24,7 @@ group: Authorization
 info: "To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments"
 ---
 
-<!---
+<!--
   This documentation is auto generated by a Rake task.
 
   Please do not edit this file directly. To update this file, run:
@@ -32,7 +32,7 @@ info: "To determine the technical writer assigned to the Stage/Group associated
 
   To make changes to the output of the Rake task,
   edit `tooling/custom_roles/docs/templates/custom_abilities.md.erb`.
---->
+-->
 
 # Available custom permissions
 
diff --git a/tooling/graphql/docs/helper.rb b/tooling/graphql/docs/helper.rb
index d027c5b35db296e839b9ede1c9a6dc8091556009..3798101e7ce878a4360664c426ff63ff13791d51 100644
--- a/tooling/graphql/docs/helper.rb
+++ b/tooling/graphql/docs/helper.rb
@@ -60,11 +60,11 @@ def auto_generated_comment
             info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments
             ---
 
-            <!---
+            <!--
               This documentation is auto generated by a script.
 
               Please do not edit this file directly, check compile_docs task on lib/tasks/gitlab/graphql.rake.
-            --->
+            -->
           MD
         end