added canConsiderAsPointer function
added stripComment function