https://www.sciencedaily.com/releases/2017/02/170216110002.htm
That's what (based on poor science) Vitamin C was supposed to do.
Note that the study found extremely strong effect of daily or weekly Vitamin D supplementation for people considered to have deficient levels, that defined as < 25 nmol/L blood.
A NZ (2012 - source) study showed that around 5% of adults were below that threshold, but that seasonally (late winter - spring) and in the SI region (excl Nelson Marlborough) 18% were deficient.
27% nationwide had "low" levels between 25 and 50 nmol/L. I don't see a figure in that data for the % with low level (but not formally "deficient") in the same seasonal / regional group, but guess it must be much higher than 18%.
Protective effect of supplementation - reduction in acute respiratory infection - was still seen in people with above deficient levels (10% reduction), not as dramatic as a halving of those diseases in people who were deficient.
The "flu/cold season" correlates with seasonal low in Vitamin D blood serum levels.