Actually, the charcoal in black powder is hygroscopic . It can and does absorb moisture out of the air. This doesn't have much effect on the burn rate of the powder but, left for a long period in a bore, it can cause rust.
This was proven by the Bevel Brothers by "loading" a length of barrel with a vent hole in it like a flintlock and placing it in their humid basement.
They left it there for about a year and then tried to remove the ball. It wouldn't budge.
They tried to remove the breech plug. It also wouldn't budge.
After they sawed the barrel apart, they found the entire area where the black powder was was totally covered in rust as was the adjacent surfaces including the breech plug threads. The areas of the bore above the ball was only lightly rusted.
This seems to validate the idea that because a muzzleloader is not a sealed breech gun, storage of a gun loaded with black powder in a very humid location for a long period of time is a bad idea.