Sixty-two percent of the 91,764 service members dismissed by the U.S. military for misconduct between 2011 and 2015 had been diagnosed two years before separation with post-traumatic stress disorder, traumatic brain injury or other conditions that could be associated with misconduct. And more than 13,200 of them received an “other than honorable” characterization of service, referred to as “bad paper,” making them ineligible for health benefits from the Department of Veterans Affairs.

The discharges, imposed with little or no due process, carried the stigma of a criminal conviction and the stain of dishonor. They contributed to homelessness, substance abuse and suicide.

Fifty years ago, 550,000 U.S. troops fought in Vietnam. At war’s end, more than half of all veterans diagnosed with PTSD had been arrested — more than one, multiple times, mostly for drug-related crimes. Many suffered from undiagnosed and untreated combat-related PTSD and, tragically, many were issued less-than-honorable discharges from the service. For years, the military underdiagnosed and did not treat the problems and then cursed the sufferers with discharges for misconduct.

Today, the VA estimates that 1 in 5 veterans returning from Iraq and Afghanistan suffers from PTSD. And, between 2009 and 2016, more than 25,000 combat soldiers were discharged from the Army for misconduct after they were diagnosed with PTSD or traumatic brain injury.

It is little wonder then that the Government Accountability Office issued a report to Congress on “Actions Needed to Ensure Post-Traumatic Stress Disorder and Traumatic Brain Injury Are Considered in Misconduct Separations.”

We should not treat combat veterans returning from Iraq and Afghanistan as callously as we did those who returned from Vietnam, nor should our criminal justice system ignore these wounds of war.

New York was the first state to recognize the need for veterans treatment courts, where veteran mentors, the VA and other service agencies combine with our court system to help rehabilitate, rather than incarcerate, veterans.

The Veterans Legal Services Clinic at Yale Law School urged then-President Barack Obama and then-President-elect Donald Trump to institute a process whereby “bad paper” could be eliminated by pardon. In August, the American Bar Association will pass a resolution requesting the remedy.

There is a precedent. President Gerald Ford pardoned 13,000 draft dodgers, and President Jimmy Carter also issued full pardons to those who ducked the Vietnam draft and erased felony-level offenses for thousands of former service members — including deserters.

Trump has repeated his support of veterans. He should consider the pardon and restoration of the honor of those veterans whose “misbehavior” and “bad paper” were caused by service-related mental disabilities.

Sol Wachtler, a sergeant in the Korean War, is a former chief judge of New York State.