I guess that depends on what you mean.
YES, I did hide it from her in that I hid it from me. For most of my life, I knew I was different. But as a young child, I learned to bury that part of me so deep I didn’t know it existed. During this period in our marriage, neither of us knew about it.
NO, I didn’t once I realized it was something I needed to deal with. As soon as I became aware that this needed to be dealt with I shared it with her. She has been right beside me in the journey of learning about this.