NEW DELHI — Militants in Kashmir pulled five construction workers from their apartment, lined them up outside and shot them dead, witnesses and officials said on Tuesday, in the deadliest single attack on civilians since the Indian government revoked the disputed region’s autonomy nearly three months ago.

The laborers, who came from India’s West Bengal State, hundreds of miles away, were pulled from their shared apartment in south Kashmir on Tuesday night, according to witnesses and an official. A sixth worker survived being shot, and was in stable condition.

For weeks, militants have threatened to attack people who try to reopen their businesses or otherwise return to life as normal in Kashmir, hoping to maintain a crisis state and intensify active resistance to the Indian government.

“Blood was everywhere,” said Abdul Salaam Bhat, the village head of Katrasoo, where the attack took place. “It was as if someone had slaughtered dozens of sheep.”