Depends.
The short answer (and scientific consensus) is that anything more than twice weekly, 30 minute sessions of LISS (low-intensity steady state) cardio will probably impede muscle gains. HIIT is actually superior at lipid oxidation, and takes less time, thus sparing more muscle. Two HIIT sessions a week are probably better if muscle gain is your goal. Or if pure size is your goal, no cardio at all.
The main thing to understand is that cardio and strength or hypertrophy training are competing interests for the body. Muscle mass is a metabolic liability from a cardio standpoint, so your body will start to make changes the more your oxygen demand increases over time. Hypertrophy is an anabolic process, meaning you need a stimulus (hard training) and an excess of substrate (food) to facilitate this process.
Mass has to come from somewhere. There has to be an excess of substrate to produce new mass, this is a law of thermodynamics. If you are going on a couple 5k runs each week, sure you can still be in great overall shape, you just aren't going to be gaining much new muscle mass. Not only do you burn several thousand calories in doing so, but running and lifting for size are metabolically competitive processes.