Variable: show-paren-not-in-comments-or-strings
show-paren-not-in-comments-or-strings is a customizable variable
defined in paren.el.gz.
Value
nil
Documentation
If non-nil, do not highlight the parens inside comments and strings.
If set to all, never highlight parens inside comments and strings.
If set to on-mismatch, do not highlight mismatched parens inside
comments and strings.
If set to nil (the default), always highlight parens wherever they are.
This variable was added, or its default value changed, in Emacs 31.1.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/paren.el.gz
(defcustom show-paren-not-in-comments-or-strings nil
"If non-nil, do not highlight the parens inside comments and strings.
If set to `all', never highlight parens inside comments and strings.
If set to `on-mismatch', do not highlight mismatched parens inside
comments and strings.
If set to nil (the default), always highlight parens wherever they are."
:type '(choice
(const :tag "Never highlight parens in comments and strings" all)
(const
:tag "Don't highlight mismatched parens in comments and strings"
on-mismatch)
(const :tag "Always highlight parens" nil))
:version "31.1")