Gas non stop nursing

My baby cries all the time and he always has gas. The only thing that will settle him down most of the time is for me to breastfeed him. But that means I am nursing every hour almost. I feel like he’s just nursing for comfort not for food. Is this ok. I feel like I’m making things worse by letting him nurse so often (his gas)

Is this normal behaviour. He’s always been this way he’s 2 months old