Name changed to reply to this....
You have my deepest sympathy OP, it is a huge blow, and reveals something unknown about the man you thought you loved, which is always hard. Think very carefully about what YOU want. He has stepped away from you, you must now only think of yourself. If you think he might change his mind if you say you're leaving, please bear in mind what another poster said:
Bottom line is you cannot bring a child into the world with a resentful, unwilling father. Even if he relents in order to keep you, it would not bode well for creating a true family, nor would it be fair to the kid.
I was in a very similar situation with my XH. He knew before we married that I really wanted children, and he'd said he never imagined himself as a parent, but was sure he'd be delighted if one came along.
Like you, we TTC in the early days, nothing happened, so we went for tests and discovered we'd need IVF. Even then it was a long shot, they said. He agreed to do it when the time was right, but somehow it never was. Moving house, financial position, all the excuses that I didn't pick up on until suddenly I was 39, the then cut-off age for treatment. So we went through with it, him complaining all along about the indignity of it; he wouldn't even read the T&Cs, but never once said he didn't want to go ahead.
After the process was complete, he finally admitted that he didn't want children - he'd been stalling (until I was too old). When I asked why he hadn't said anything he said it was because he thought I'd leave him. He had just played along so that he got the wife he wanted, without any desire for wife to get the family she wanted. He'd only done the IVF as they gave us such a low chance of success (6%). It really floored me. But I resigned myself to the fact that if we couldn't conceive anyway then it didn't matter, but it did. I couldn't feel the same way about him knowing that he had strung me along like that.
As it turned out, the IVF worked first time. I was scared to tell XH as I knew he'd be furious, and he was. He was even more furious when it turned out to be twins, and told me I'd fucked up his life and tried to get me to abort one of them. Kind of killed the marriage before they children were even born. Obviously I stayed, as I hadn't set out to be a single parent to twins, but it was miserable. Every time he got angry about the way his lifestyle was disrupted I'd apologise and he'd say he'd been railroaded into it and had no choice etc. etc. Took me 9 years to grow a backbone and LTB, but now me and my DC are the happiest we've ever been.
Sorry to take over your thread, OP. I think reading your post just brought it all back and I had to vent about it. Not every man is like this, but bear in mind some will say anything to get their way, even if they don't mean it.