The authors deal with the asymptotics of solutions of the first boundary value problem for the heat equation near vertices of cones or edges. They obtain estimates for the remainder in weighted Lp, q Sobolev spaces. The paper generalizes the main result of Kozlov and Mazya 6 to the case \documentclass{article}\usepackage{amssymb}\begin{document}\pagestyle{empty}$p,q\not=2$\end{document} and to edges.