A baby is born with a horrible lung condition it can barely breathe, is in horrible agony, and will die in a few days no matter what. A doctor euthanizing it would be an act of...
My wife faces this as a physician every day. It is her job to recognize this situation and explain it to the parents. Most of the time, a DNR is signed and the baby is taken off of the ventilator and is allowed to die while being held by the mother.
If the parents refuse the DNR, they continue working with the baby and many times it is kept alive for days if not weeks.
Are the babies on any pain mess during that time?
Absolutely. They do all they can to make them comfortable.
Well That's good at least.
Morally, mercy, legally, at least for now here in the US, probably murder. Even if it was an adult in a similar condition, clearly begging for help to die and end it, in most states, no mercy or compassion at all. That's just not who we are.
Mercy, if there's no other way to help it AND the parents consented.
I think if there is absolutely no chance of survival and it's in a lot of pain, then that would be the humane thing to do.