I have long heard that manifolds are "affine". If we allow non-paracompact manifolds, then this seems to fail, since as explained in Dmitri Pavlov's answer, the Serre–Swan theorem fails. I wonder to what extent it could be compared with the non-affineness in algebraic geometry? For example, as an analogue of "coherent" coefficients in algebraic geometry,
(cf. Serre vanishing) Does the higher cohomology of the sheaf $\underline{\mathbb R}:=C(-,\mathbb R)$ of real-valued continuous functions vanish on non-paracompact Hausdorff manifolds?
On the other hand, as an analogue of étale coefficients in algebraic geometry,
(cf. Artin vanishing) What is the cohomological dimension of non-paracompact Hausdorff manifolds? Or rather, if we only look at local systems of abelian groups, is the cohomology bounded by the dimension of the non-paracompact Hausdorff manifold?
I would be happy to see references for these. If they are too hard for the moment, I would also be glad to hear anything about the very example of the long line.
Update: As R. van Dobben de Bruyn and Dmitri Pavlov mentioned, for non-paracompact manifolds, the sheaf cohomology with coefficients in constant sheaves is equivalent to the singular cohomology, due to a theorem by Sella. This is also covered in Dustin Clausen's Lecture notes on algebraic de Rham cohomology, Lecture 3, Theorem 12. It might extend to local systems as well. And for singular cohomology, if I understand correctly, we do have the vanishing result.