How did/does it stop when you experience this?
For me, it seems to go away once I ignore it! It happens occasionally, but only once during a dive.
Not noticed it on deeper dives, >60m/200ft. Have noticed it in shallower dives.
I cannot really ignore it, it is too annoying. But taking care to calm down helps a bit and at some point it is gone (at latest during deco).
I had it three or four times in something like 150 RB dives. Once at 30m with 15/55, another time at 70m with 15/55. Both dives were a bit stressful. Never experienced it in OW. But on stressful dives in OW i usually use a scooter... In mines not (since it is not allowed). So CO2 for sure is not the origin, but maybe a contributing factor. And I can feel the soft palate not working properly.
Reading these posts here it has the same origin like snorting, weak muscles. And at least for me I can say, that I can improve this by loosing weight / work on my fitness.