First of all, my long-lost friend got married. If he invites you, it's just to show others that he has a wide network and make himself feel dignified. And I can receive a little money more or less, so I think his invitations should be sent in groups, so I don't have to pay attention to him.
Second, you don't know anything about a friend you haven't contacted for a long time, what he has become now and who he is getting along with. Maybe he has forgotten you for a long time. This invitation was sent in groups for the sake of saving face, so the purpose was to spread the net widely. There are always friends who will reply to him and come to attend because of face. However, if you go to their wedding because you haven't been in touch for a long time, it proves that you have nothing in common. He is likely to be left out at the wedding. You don't know the people at the wedding scene, so naturally you won't say much. How humbled and depressed. Therefore, it is best not to reply to him.
The above questions are aimed at you, and my suggestions are for reference only. I hope my answer can help you and make you satisfied.