docs: restore section template comments in ndarray/base/diagonal and ndarray/last
#11903
+11
−1
ndarray/base/diagonal and ndarray/last
#11903