From 23265f1fca610914e940dd10b1e56849b7d7de29 Mon Sep 17 00:00:00 2001
From: Nic <162764842+Nic-Polumeyv@users.noreply.github.com>
Date: Tue, 6 Oct 2026 18:12:41 -0400
Subject: [PATCH] fix: keep comments in `
+
+
+
+{doubled}
diff --git a/packages/svelte/tests/validator/samples/svelte-ignore-module-script/warnings.json b/packages/svelte/tests/validator/samples/svelte-ignore-module-script/warnings.json
new file mode 100644
index 0000000000..407361e37d
--- /dev/null
+++ b/packages/svelte/tests/validator/samples/svelte-ignore-module-script/warnings.json
@@ -0,0 +1,14 @@
+[
+ {
+ "code": "state_referenced_locally",
+ "message": "This reference only captures the initial value of `count`. Did you mean to reference it inside a closure instead?",
+ "start": {
+ "line": 8,
+ "column": 12
+ },
+ "end": {
+ "line": 8,
+ "column": 17
+ }
+ }
+]