Holland's South Moluccan community, many weeping and carrying wreaths and flowers, buried six terrorists today in a common grave only miles from the meadowland where the terrorists held a hijacked train for 20 days.

The funeral brought several thousand Moluccans to the small Moluccan neighborhood in Assen to pay final tribute to the terrorists, who died when Dutch troops stormed the train and a nearby school Saturday, freeing 53 hostages.

"The government has created new martyrs," said one mourner. "But they can't put us down."

The red, white, green and blue flags of their nonexistent South Moluccan republic--the cause for which the terror act was launched--flew at half staff from almost every window along the 1.8-mile funeral route.

Marchers stretched out more than a half mile behind the six hearses carrying the terrorists's caskets, which also were draped with the South Moluccan flag. Many of the men wore black suits. Nearly all the mourners carried flowers and sang hymns as they marched.

The first terrorist to be lowered into the grave was the only woman among the six slain, a 22-year-old dental assistant. Once Moluccan man said the bodies had been examined during the night and he claimed that she had been bit by 106 bullets. A male terrorist, he said, had been hit more more than 300 times.

Earlier, the small church where the funeral services were held was packed and thousands listened on loudspeakers set up in the square outside. Old men, women and children spent the night praying and weeping over the six lacquered caskets.

The Moluccans sealed off their quarter in Assen with cars and Moluccan youth squads patrolled the streets. The Dutch police kept a low profile, and no violence was reported.

The slain terrorists were part of a gang of 12 that hijacked the train and occupied a school near this town May 23, seizing more than 150 hostages.

After 20 days of negotiations with Dutch officials, during which more than 100 schoolchildren and two pregnant women were set free, Dutch troops attacked both the train and the school. The six terrorists and two hostages were killed on the train, and a seventh Moluccan was critically wounded. Six other terrorists, two on the train and four who surrendered without bloodshed at the school, were arrested.

In the Hague, the Dutch capital, Premier Joop den Uyl told Parliament that early in the siege the government had offered the Moluccans their freedom if they released the school children. The children were finally released when they became ill, but Den Uly said the gunmen then toughened their demands and left the government no choice but to use force.

Some 40,000 Moluccans live in Hol-dependence of their ancestral South South Moluccas were made part of Inland, largely segregated from the white Dutch and yearning for the independence of their ancestral South Sea islands from Indonesia.