(CNN) -- A car bomb near the Syrian ruling party's headquarters killed 31 people on Thursday, the opposition Syrian Observatory for Human Rights reported. The majority of the victims were civilians, it said.