If $X$ is an infinite-dimensional manifold (say a Hilbert or a Frechet manifold), and $A \subset X$, we say $A$ has co-dimension strictly larger than $n$ if for all $n$-dimensional manifolds $N$, consider the space of smooth maps $f : N \to X$, $Map(N,X)$ has as an open and dense subspace the maps which are disjoint from $A$. Basically, this definition is motivated by the truth of the above statement in the finite-dimensional case -- see a differential topology text like Guillemin and Pollack, or Milnor's "Topology from a Differentiable Viewpoint".