My dog is dying… What can I do to make him comfortable and to make his passing easy?

Pretty sure this is his last night… He laid down in the kitchen and hasn’t moved. His gums are cold as ice and pale and has very labored breathing. We made him a pallet in the floor and I’m sitting with him right now and giving him pets… My dad says if he makes it through the night we’ll take him to the vet to be put down..
My dog is dying… What can I do to make him comfortable and to make his passing easy?
Post Opinion