In the paper4 the notion of local KMS condition, introduced in Ref. 3 and extended in Ref. 2, was shown to open new possibilities in the study of the problem of Bose–Einstein Condensation (BEC). In this paper we analyze the general structure of states on the CCR algebra over a pre-Hilbert space that satisfies the local KMS condition with respect to a free Hamiltonian [Formula: see text] and to a given inverse temperature function [Formula: see text]. The replacement of Hilbert space by a pre-Hilbert space allows one to deal with test functions more singular than those usually considered in the theory of distributions (thus allowing e.g., fractal critical surfaces) and is equivalent (in the language of Weyl algebras) to consider a degenerate symplectic form. It is precisely this degeneracy that allows one to introduce in an intrinsic way the notions of [Formula: see text]-critical subspace (resp. [Formula: see text]-critical surface) and of states exhibiting BEC, independently of infinite volume limits and of boundary conditions. We prove that the covariance of any local KMS state is uniquely determined by the pair [Formula: see text], through a nonlinear extension of the Planck factor. For a large class of such states (including all known examples) the covariance splits into a sum of two mutually singular terms: one corresponding to a regular state, the other one with support on a critical surface (or more generally a critical subspace) uniquely determined by [Formula: see text] and [Formula: see text]. In particular we prove that, if such a state is gauge invariant Gaussian (quasi-free), then the [Formula: see text]-equilibrium condition uniquely determines the regular part of the state, while the singular part is arbitrary.