Fill your bottles at the taps by the arches near the Grotto. The Sanctuary says the water is completely free and cannot be sold, so the only cost is the container: bring your own or buy one in the shops in town.
The rule that catches people is the first one they meet. Flying home from France, you pass European Union security before you ever see a TSA officer, and the EU rule is the same as the American one: no container over 100 ml in hand luggage, all of them together in one transparent 1-liter bag. A larger bottle in your carry-on will be taken at the checkpoint, and a devotional purpose is not an exemption; the EU excuses only medicines and baby food from the limit. Small 100 ml bottles are the answer if you want some with you in the cabin.
Good to know before you go: for checked luggage, tighten the caps, tape them, and seal each bottle in a plastic bag, then pack it in the middle of the suitcase among soft clothes. Remember the weight, since a liter of water weighs a kilogram (2.2 lb) and counts against your airline's baggage allowance. Anything you carry through security at a connecting airport has to meet the 100 ml rule again.
