Coco Schumann, a German jazz guitarist who performed alongside Ella Fitzgerald and Marlene Dietrich during a decades-long musical career, but who gave his most consequential performances as an inmate of the Nazi concentration camps where, he said, music saved his life, died Jan. 28 in Berlin. He was 93.

Mr. Schumann's death was reported by the Associated Press and the German news agency DPA, which described Mr. Schumann as "one of Germany's most celebrated jazz musicians." The cause was not immediately available.

"The human is a peculiar creation," Mr. Schumann once told an interviewer, reflecting on his experience during the Holocaust. "Unpredictable and merciless. What we saw in those days was unbearable, and yet we bore it. We played the tunes to it, for the sake of our bare survival. We played music in hell."

Mr. Schumann had first heard and made music in what he described as the "roaring" jazz scene of Berlin, where he was born Heinz Jakob Schumann on May 14, 1924. (A French girlfriend dubbed him Coco.) The son of a Jewish mother and a father who had reportedly converted from Christianity to Judaism, Mr. Schumann said that he grew up celebrating Jewish as well as Christian holidays.

An uncle gave him his first drum set, which Mr. Schumann played in Berlin cabarets until he had saved enough money to purchase his first guitar. But by the late 1930s, the Nazi government under Adolf Hitler had begun to suppress jazz, which the regime condemned as "degenerate" because of its association with Jewish and black composers and musicians.

Mr. Schumann, whose partial Jewish heritage made him particularly vulnerable to Nazi anti-Semitic persecution, nonetheless continued to perform. He felt a measure of security because he had blue eyes and did not appear to be Jewish. He sometimes tested his luck, removing the yellow star Jews were required to wear for identification and, on at least one occasion, daring an SS officer to arrest him.

Notable deaths in 2018 and 2019: Nipsey Hussle, George H.W. Bush, Stan Lee, John McCain, Aretha Franklin and other famous faces we’ve lost

Nipsey Hussle, a Grammy nominated rapper who sought to revive South Los Angeles, died at age 33 on March 31. Read the obituary (Matt Winkelmeyer/Getty Images for Warner Music)

"You should arrest me, sir, for I am underage and Jewish to boot," he told a Nazi who attended one of his shows. The officer could only assume the young musician was joking and did nothing, according to an account in the volume "Different Drummers: Jazz in the Culture of Nazi Germany" by Michael H. Kater.

Mr. Schumann was ultimately arrested in 1943, charged with performing degenerate music and with having relationships with Aryan girls.

He was set to be deported to Auschwitz, the Nazi death camp in Poland where more than 1 million Jews and other victims were murdered during the Holocaust. He said that his father, a veteran of World War I, interceded on his behalf and succeeded in having Mr. Schumann sent instead to Theresienstadt, the camp-ghetto in Czechoslovakia.

Also known as Terezin, Theresienstadt was used by the Nazis as a propaganda tool to deceive observers including the Red Cross about the true nature of concentration camps.

"We had music there and cabaret in order to mislead the people," he told an interviewer for the book "A Woman at War: Marlene Dietrich Remembered." "I played percussion in a big band called the Ghetto Kennel." He also performed with a group known as the Ghetto Swingers, replacing a drummer who had been deported to Auschwitz.

Mr. Schumann, too, was sent in 1944 to Auschwitz, where guards required him and other imprisoned musicians to perform for their captors' entertainment. The musicians were ordered to play music from operettas and military marches for hours as new arrivals received their tattoos, as well as when condemned inmates were led to the gallows or to the gas chambers. A favorite number among the guards was the folk song "La Paloma."

Mr. Schumann told Michaela Haas, author of the book "Bouncing Forward: Transforming Bad Breaks Into Breakthroughs," that because of his stature at the camp, guards allowed him extra clothing and provisions that helped him survive. He was transferred to and then liberated from a subcamp of Dachau in Germany, where he nearly died of illness. His parents survived the war, but much of his family perished.

After the war, Mr. Schumann returned to Berlin and performed with marquee names including Fitzgerald and Dietrich, who he said had been "a superstar to me, comparable only to Greta Garbo" when he was young. During Hitler's rise, the German-born Dietrich became a forceful opponent of Nazism and obtained U.S. citizenship.

"Above all, I thought very highly of her, being a German and a star like she was, that she was against Hitler," he said. "Many, many actors went along with it and betrayed their Jewish colleagues. I really thought a lot of her for being so much against that."

Seeking to escape his memories of the Holocaust, Mr. Schumann lived for a period in Australia, where he worked at a jam manufacturing plant and performed onstage before resuming his music career on cruise ships and in Berlin. He told Haas that he wished to be known as "a musician who survived the concentration camp. Not a Holocaust survivor who happens to make music."

Mr. Schumann was predeceased by his wife, Gertraud, who also was a Holocaust survivor. A complete list of survivors was not immediately available.

Mr. Schumann titled his memoir "The Ghetto Swinger: A Berlin Jazz-Legend Remembers" and continued performing well into old age.

"I have at least one good reason not to play 'La Paloma,' but also a thousand reasons to play it — every single person in the audience," he said. "It's not the music that's at fault."