diff --git a/packages/compiler-sfc/__tests__/__snapshots__/cssVars.spec.ts.snap b/packages/compiler-sfc/__tests__/__snapshots__/cssVars.spec.ts.snap
index 0c6a96a0..9616b8fd 100644
--- a/packages/compiler-sfc/__tests__/__snapshots__/cssVars.spec.ts.snap
+++ b/packages/compiler-sfc/__tests__/__snapshots__/cssVars.spec.ts.snap
@@ -49,6 +49,17 @@ __default__.setup = __setup__
export default __default__"
`;
+exports[`CSS vars injection codegen should ignore comments 1`] = `
+"export default {
+ setup(__props, { expose }) {
+ expose()
+const color = 'red'
+return { color }
+}
+
+}"
+`;
+
exports[`CSS vars injection codegen w/ \n` +
+ ``
+ )
+
+ expect(content).not.toMatch(`_useCssVars`)
+ assertCode(content)
+ })
+
test('w/