This is a very bad idea.
The resulting code is likely to have many issues with it that include
- Poorly documented code, so very hard to maintain and update
- 'Spaghetti code' - which means a tangled mess of jumps and loops all over the code, very hard for someone to understand. Even by the original coder a few days later!
- Duplication of code, so wasting memory and running speed
- Very hard to develop by more than one person as there is only one file
- Very hard to debug - the file either works or it doesn't