Anybody know, if there is any limitation of no of lines of code in Class file?

I am facing some issues, my class file contains 52535 lines of code. When I compile the code, VB6 compiler hangs. When I comment one of the procedure/function (almost 100 lines of code) anywhere in file, I am able to compile the project.

Not sure whats happening..

Anybody faced such issue? Any idea guys?