Does an abdominal workout help you lose weight if you have a gut or will you just build muscle under fat?

I’m having quite a bit of trouble shedding pounds in my mid section while the rest of me is responding well to my diet and exercise routine. However I’ve heard that if I workout on my abs while not having achieved losing weight there, I would be building muscle under fat resulting in an even bigger belly! Is there any truth to this?