This would only be a guess, but my guess is you were in Vtach during those "blacking out" moments, and your brain was not receiving enough oxygen, and you were, in fact, passing out. But maybe your heart returned to a normal rhythm just before you lost consciousness. And whether it's lucky or unlucky, I'm not sure, but it would seem that you're one of the people who doesn't feel all the funkiness their hearts can cause. I feel everything, which I guess is good, as it gives me a leg up on staying alive, I suppose.
The short, sharp pain would be hard to determine. Could've been gastrointestinal, could've been something with your heart, though those pains don't usually come and go that quickly.