diff --git a/Libraries/LibWeb/HTML/Parser/HTMLTokenizer.cpp b/Libraries/LibWeb/HTML/Parser/HTMLTokenizer.cpp
index ab8ea5ffb21e..fa69194299b6 100644
--- a/Libraries/LibWeb/HTML/Parser/HTMLTokenizer.cpp
+++ b/Libraries/LibWeb/HTML/Parser/HTMLTokenizer.cpp
@@ -174,14 +174,11 @@ namespace Web::HTML {
#define SWITCH_TO_AND_EMIT_CURRENT_CHARACTER(new_state) \
SWITCH_TO_AND_EMIT_CHARACTER(current_input_character.value(), new_state)
-// clang-format-18 handles the `state:` label rather badly.
-// clang-format off
#define BEGIN_STATE(state) \
state: \
case State::state: { \
{ \
{
-// clang-format on
#define END_STATE \
VERIFY_NOT_REACHED(); \