I stumbled upon a link to vim-racer.com and among their tips they mentioned the %:
From the various-motions nvim docs:
% Find the next item in this line after or under the cursor and jump to its match. inclusive motion.
Items can be:
([{}]) parenthesis or (curly/square) brackets (this can be changed with the 'matchpairs' option)
/* */ start or end of C-style comment
#if, #ifdef, #else, #elif, #endif
C preprocessor conditionals (when the cursor is on the # or no ([{ is following)
For other items the `matchit` plugin can be used, see `matchit`. This plugin also helps to skip matches in comments.