In order to define an actual Weyl or Cotton tensor, one has to have a non-degenerate conformal structure. In the OP's case, we aren't given such a structure, so the only way to get an actual Weyl or Cotton tensor would be to construct a conformal structure out of the given data, and that, as Ben McKay points out, is not always possible. Meanwhile, specifying, up to a multiple, a smooth semi-definite quadratic form with nullity 1 on a manifold $M$ of dimension $n$ is specifying a section of a smooth bundle over $M$ of rank $\tfrac12(n^2+n-4)$ which is greater than $n$ when $n>2$, so there must be local invariants, i.e., tensor fields that can be used to distinguish different sections up to local diffeomorphism. However, the order of the lowest order invariant tensor fields turns out to be lower than either the tensors of Weyl (order 2 for $n>3$) or Cotton (order 3 for $n=3$). For example, consider the case of a semidefinite quadratic form $g$ of rank 2 on a $3$-manifold, defined up to a multiple. In this case, there is a tensor of order $1$ that defines a quadratic form on the null curves of the 'degenerate conformal structure' $[g]$. This tensor vanishes if and only if the degenerate conformal structure is locally the pullback of a conformal structure on the (locally defined) surface that is the space of null curves of $[g]$. Intuitively, you can understand this as follows: Since the construction is local, one can assume that one is working in a neighborhood of the origin in $xyz$ space and that the $g$-null curves are parallel to the $z$-axis. Thus, $$ [g]= \bigl[E(x,y,z)\,\mathrm{d}x^2 + 2F(x,y,z)\,\mathrm{d}x\,\mathrm{d}y + G(x,y,z)\,\mathrm{d}y^2\bigr] $$ where $EG-F^2>0$. Then (if I haven't made an algebra error), the quadratic form $$ \zeta = \frac{(E_zG{-}EG_z)^2 - 4(E_zF{-}EF_z)(F_zG{-}FG_z)}{(EG-F^2)^2}\,\mathrm{d}z^2 $$ pulls back to each null curve to define a non-negative quadratic form on that curve that is independent of the choice of coordinates. If $\zeta$ vanishes identically, then, up to scale, one can choose the local coordinates so that $[g] = [\mathrm{d}x^2+ \mathrm{d}y^2]$, and conversely. Meanwhile, when $\zeta$ is nowhere vanishing, one can further, using one more derivative, define a scalar differential invariant $C$ of order 2, namely $$ C = \frac{(EG-F^2)^{3/2}\,\det\pmatrix{E & F & G\\E_z & F_z & G_z\\E_{zz} & F_{zz} & G_{zz}}}{\bigl((E_zG{-}EG_z)^2 - 4(E_zF{-}EF_z)(F_zG{-}FG_z)\bigr)^{3/2}} $$ In case, $C$ is constant, it can be shown that there are local coordinates $(x,y,z)$ centered around any given point in which $[g]$ has the form $$ [g] = \bigl[E(z)\,\mathrm{d}x^2 + 2F(z)\,\mathrm{d}x\,\mathrm{d}y + G(z)\,\mathrm{d}y^2\bigr], $$ where $EG-F^2 = 1$, $\zeta = \mathrm{d}z^2$, and $eE-2fF+gG = h$, where $e,f,g,h$ are constants. Hence, the cases (with $\zeta$ nonvanishing) with $C$ constant are all locally homogeneous. When $C$ is not constant, $(M,[g])$ is not locally homogeneous, and the further construction of geometric invariants divides into the cases where $C_z$ vanishes and where it does not vanish. Using Cartan's Equivalence Method, which is more systematic than just guessing formulae, one can derive a complete set of tensorial invariants for the geometric structure $[g]$. Similar ideas work in all dimensions $n\ge 3$.