Having high muscle mass, especially in your youth, is good for the immune system.
The relationship with muscle mass to immune function lies within the reserve of protein structures. For example, during vigorous exercise and over-training, the protein reserves are used to repair muscle and recuperate from the training and therefore little is left over for our immune systems.
So, the more muscle you have available, the better.
(Source)

