In ArcMap, you could edit z values of a polyline by selecting a group of vertices and use the "nan" command to force the selected vertices to interpolate between adjacent vertices. It appears this same functionality is not included in ArcPro. This is a very critical command in our hydro flattening process to allow for manual adjustments to centerlines of streams.