Fix for source that ends in a comment with no trailing newline.
Fix for source that ends in a comment with no trailing newline.

ElNounch/insert-module-globals,apihlaja/insert-module-globals,substack/insert-module-globals,ElNounch/insert-module-globals,apihlaja/insert-module-globals,substack/insert-module-globals