MUNSAN, South Korea — “We can’t have another Korean War. Do you agree with me?” Jung Ki-youl, chairman of the local government here, asked an estimated 25,000 mostly young South Koreans at Nuri Peace Park, only five miles from the demilitarized zone that separates the two Koreas. The crowd was eagerly awaiting a two-hour concert on Saturday night featuring some of the biggest stars of K-pop, a popular genre of music in South Korea.

“That is why this peace concert is so meaningful,” Mr. Jung said. “Let’s shout ‘no’ to missiles and ‘no’ to nuclear weapons development and ‘we want peace.’ Maybe North Korea can hear us,” he said. A roar rose up from the crowd in response.

But the volume of these shouts was nothing compared with the shrieks of young men and women that filled the park after the performances of their favorite K-pop stars, including Girls’ Generation, BTOB, Cosmic Girls, Mamamoo and GFriend, who performed at the seventh annual summer DMZ Peace Concert.

Nam Hyung-jin, 18, a college freshman studying Chinese language, had traveled 70 miles north from Osan City. He felt apprehensive about attending, knowing how close the concert was to North Korea. He was unsettled by the bellicose remarks exchanged between the leaders of the United States and North Korea last week.