Comfort nursing

Ha

When your baby starts comfort nursing during a session how long do you let them? My baby is 3.5 months and will comfort suck so long if I let him. Should I let him as long as he wants or should I stop him and give a pacifier? I love the snuggles but I don’t know if I’m encouraging a bad habit.