Let $f\in C^{\infty}(\mathbb{R}^n)$ be such that $f(x_1,\dots,x_n)=0$ whenever $c_1x_1+\dots+c_nx_n+q=0$, for some $c_1,\dots,c_n,q\in\mathbb{R}$. Can the function $$g(x) = \frac{f(x)}{c_1x_1+\dots+c_nx_n+q}$$ be extended as to define a smooth function in $\mathbb{R}^n$? If so, can $g$ be bounded by $f$ and it's derivatives?
Following the ideas in Quotient of two smooth functions is smooth, I believe I've managed to prove that is the case when $n=1$, by writing $g$ as: $$ g(x) = \frac{1}{c_1}\int_0^1f'\left(tx+(1-t)\frac{-q}{c_1}\right)dt$$ However I am having some difficulty generalizing this idea to the case $n>1$. Is there an easier way to prove this? Or is this not true in general? I couldn't think of a counter-example.