Static solutions from the point of view of comparison geometry