Maybe a clue:
I just discovered that all inline attributes (page, task and item) are associated with the .sb-frontmatter class. It is therefore possible to hide/show all the attributes of a page (as well as the frontmatter) with a single command. See this, for example (no need to add a specific item in the frontmatter - the code does the job with Ctrl+Alt+f )