Also...before you note the fact that I said I was buzzed, but also said I was 19, we knew the guy who was performing, and he got us all free drinks afterwards so I got lucky and got a couple of shots.
WORD: ZIP-IT.
No matter how compelled you may feel to confess this to your friend, don't.
First ... at the music place, you probably were both a bit buzzed and a bit of flirting is not the end of the world, and should NOT threaten the end of a marriage.
Second ... being caught "nearly having an affair" may be an exaggeration of the situation: flirting gone too far.
Third ... her bra isn't going to tell anyone and you didn't leave anything to call attention to it.
Fourth ... IF YOU 'CONFESS,' you may be creating a real fracas that gets out of control, ends a marriage that may be entirely 'fixable,' and you may F*ck up the lives of some children in an age where it really does make a difference to have 2 parents caring about and helping them make their ways into the world.
So, ZIP-IT. And get busy finding a real girlfriend who is available, has no baggage, and who will help you keep your friendship with this couple what it should be: something that helps them find the strength to get past their problems and rediscover their love for each other.
One confession (the one you wrote here) is enough. You made a mistake. Fine. Get over it and get on with living: the ride is an unbelievably short one -- too brief to spend much time mulling over regrets, so forgive yourself and put your good intentions into actions.