I think in your heart that you already know the answer to this ... No, marrying will not make your sexual identity disappear any more than a gay man finding the right woman or a lesbian finding the right man will magically make them straight!
Sure, we can go that route and fake it and it may or may not work out but in the meantime we'll be denying our authentic selves their very being and nothing good ever comes out of that!
There are a lot of therapists out there that can help you with this issue so you don't have to continue being who you are not and learn to love, like and accept who you are and how you are. Once you get healthy with yourself, everything else will take care of itself!