I think these posts could also be relevant to you – if you need a single location inside your document where you can set note visibility:
Or if you want to configure the document from the command line: