How to exclude passes from EXR file when using the denoiser node?
Just plug in the outputs from the Render pass or other nodes that you need directly to the inputs of a File Output node.

EXR multilayer can have any number of arbitrary layers (use the Add input button on the node to create them), so just create the ones you need for further compositing.