You treat the line source as a line or a collection of points, there's no real difference. Actually the math is quite easy. I'm not sure what you are trying to prove with this kind of statement.
If you really insist on calling a line a collection of points, then go right ahead. Most of us, casually and mathematically, have a name for a collection of points: a line. As was stated before, inverse square law stems from essentially geometric arguments.
What that statement is trying to show (if it is trying to show anything) is that this inverse square thing is not such a strange and exotic thing.
There's no real difference indeed, whether point or line, except that you don't calculate the effect of a change in distance from subject to one point light source, but to many. Each behaving in the 'inverse square way'.
Why make it clear that this is not an exotic phenomenon, but on the contrary quite 'the norm'?
Because despite it being so obvious that the OP's hunch about the light fall off was spot on, it gave rise to some serious doubt, and hard work explaining that there is nothing strange going on.



