--- title: MissingEnableComment description: >- Checks for theme-check-disable comments without corresponding theme-check-enable comments. source_url: html: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/missing-enable-comment md: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/missing-enable-comment.md --- # MissingEnableComment **Deprecated:** This check only exists in Theme Check `v1.X.X`. Makes sure that when `theme-check-disable` is used in the middle of a template, the corresponding `theme-check-enable` comment is also present. *** ## Examples The following examples contain code snippets that either fail or pass this check. ### ✗ Fail ```liquid {% # theme-check-disable ParserBlockingJavaScript %} ``` ### ✓ Pass ```liquid {% # theme-check-disable ParserBlockingJavaScript %} {% # theme-check-enable ParserBlockingJavaScript %} ``` *** ## Disabling this check Disabling this check isn't recommended because Theme Check might not run on large sections of your code. ***