Use of a comb polymer as wetting agent and dispersant, wherein the comb copolymer is preparable from at least one diglycidyl ether of the general formula at least one polyether monoamine of the general formula R t -[OEt] n [OPr] m [OBu] s -NH 2, at least one amine of the general formula Z-R 1 -NH 2, and o ptionally at least one secondary amine which is free of primary amino groups and is of the general formula NHTV where R is a radical free of epoxy groups, selected from aliphatic radicals, aromatic radicals and araliphatic radicals, R t is a radical selected from alkyl radicals having 1 to 6 carbon atoms, OEt is an ethylene oxide radical, OPr is a propylene oxide radical and OBu is a butylene oxide radical, n is a number from 0 to 100, m is a number from 3 to 50 and s is a number from 0 to 20 and n + m + s = 3 to 103, R 1 is an aliphatic, aromatic or araliphatic hydrocarbyl radical having 1 to 12 carbon atoms, Z is a radical which is free of primary and secondary amino groups and has at least one basic nitrogen atom, T and V do not contain any secondary amino groups and are independently aliphatic radicals having 1 to 12 carbon atoms, aromatic radicals having 6 to 12 carbon atoms or araliphatic radicals having 7 to 12 carbon atoms, characterized in that the molar number of the sum total of the primary amino groups of the polyether monoamines and primary amino groups of the amines, divided by the molar number of epoxy groups of the diglycidyl ethers, gives a value of 1/3 to 3/4, wherein the comb polymer has a structure of the general formula in which the w+1 R radicals may be selected independently of one another, one of the Y and X radicals is OH and the other radical is NHQ or NTV, one of the Y' and X' radicals is OH and the other radical is NHQ or NTV, and Q radicals are independently Q 1 = R t -[OEt] n [OPr] m [OBu] s or Q 2 = Z-R 1, and w is a number from 1 to 20, with the proviso that the formula contains at least one Q 1 radical and at least one Q 2 radical. R is a radical free of epoxy groups, selected from aliphatic radicals, aromatic radicals and araliphatic radicals, R t is a radical selected from alkyl radicals having 1 to 6 carbon atoms, OEt is an ethylene oxide radical, OPr is a propylene oxide radical and OBu is a butylene oxide radical, n is a number from 0 to 100, m is a number from 3 to 50 and s is a number from 0 to 20 and n + m + s = 3 to 103, R 1 is an aliphatic, aromatic or araliphatic hydrocarbyl radical having 1 to 12 carbon atoms, Z is a radical which is free of primary and secondary amino groups and has at least one basic nitrogen atom, T and V do not contain any secondary amino groups and are independently aliphatic radicals having 1 to 12 carbon atoms, aromatic radicals having 6 to 12 carbon atoms or araliphatic radicals having 7 to 12 carbon atoms, characterized in that the molar number of the sum total of the primary amino groups of the polyether monoamines and primary amino groups of the amines, divided by the molar number of epoxy groups of the diglycidyl ethers, gives a value of 1/3 to 3/4, wherein the comb polymer has a structure of the general formula in which the w+1 R radicals may be selected independently of one another, one of the Y and X radicals is OH and the other radical is NHQ or NTV, one of the Y' and X' radicals is OH and the other radical is NHQ or NTV, and Q radicals are independently Q 1 = R t -[OEt] n [OPr] m [OBu] s or Q 2 = Z-R 1, and w is a number from 1 to 20, with the proviso that the formula contains at least one Q 1 radical and at least one Q 2 radical.