Catalysis of the reaction: S-adenosyl-L-methionine + 3-demethylubiquinone-n = S-adenosyl-L-homocysteine + ubiquinone-n.